<div class="container">
	<div class="well">
		<? if(isset($this->existtoken)&& ($this->existtoken==1)){?>	
		<h2>Reset Your Password</h2>
		<form class="form-horizontal" id="updatePwdForm" name="updatePwdForm" method="POST">
			<div class="control-group">
				<label class="control-label" for="newPassword">New password</label>
				<div class="controls">
					<input type="password" name="newpwd" id="newpwd" placeholder="Enter New password">
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="confirmPassword">Confirm password</label>
				<div class="controls">
					<input type="password" name="confirm-pwd" id="confirm-pwd" placeholder="Enter Confirm Password">
				</div>
			</div>
			<input type="hidden" id="hidtoken" name="hidtoken" value="<?echo $_GET['token'];?>"/>
			<div class="control-group">
				<div class="controls">
					<button type="button" class="btn" id="btn_new_pwd" name="btn_new_pwd" onclick="return updatePassword('user')">Save</button>
					<input type="hidden" id="hidtoken" name="hidtoken" value="<?echo $_GET['token'];?>"/>
				</div>
			</div>
		</form>
<script src="<?php echo $this->basePath() ?>/js/jquer-1.8.2.min.js" type="text/javascript"></script>		
<script>
		$('#confirm-pwd').keypress(function(e){
			if( e.keyCode == 13 ){
				updatePassword('user');	
			}
		});
</script>
		<?}else{?>
				<section class="forgetUrl_exipred">
				<div style="padding-top:80px !important;">Your gotten URL is expired. Please try once again...</div>
				</section>	
		<?}?>	
	</div>
</diV>
